package com.qianbao.finance.sync.modules.elasticsearch.model.request;

import org.hibernate.validator.constraints.NotBlank;


public class SyncByTableRequest {
    @NotBlank
    private String database;
    @NotBlank
    private String table;
    private Integer stepSize = 500;
    private String key;

    public String getDatabase() {
        return database;
    }

    public void setDatabase(String database) {
        this.database = database;
    }

    public String getTable() {
        return table;
    }

    public void setTable(String table) {
        this.table = table;
    }

    public Integer getStepSize() {
        return stepSize;
    }

    public void setStepSize(Integer stepSize) {
        this.stepSize = stepSize;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

}
